﻿// =================================================================== 
// 项目说明
//====================================================================
// 文件： ERP_SalesPlanDetail.cs
// 创建时间：2016/12/7
// 负责人：
// ===================================================================
using System;

//注意：该文件自动生成，一般请不要手工修改。

namespace CRMMis.Model
{
	/// <summary>
	///销售计划详情(ERP_SalesPlanDetail)数据实体
	/// </summary>
	[Serializable]
	public class ERP_SalesPlanDetail
	{
		#region 变量定义
		
		///<summary>
		///计划详情ID
		///</summary>
		private int _detailId;
		
		///<summary>
		///销售计划单ID
		///</summary>
		private int _dSalesPlanId;
		
		///<summary>
		///商品ID
		///</summary>
		private int _dCargoId;
		
		///<summary>
		///客户商品ID
		///</summary>
		private int _dCusCargoId;
		
		///<summary>
		///数量
		///</summary>
		private int _dCount;
		#endregion
		
		#region 构造函数

		///<summary>
		///销售计划详情的构造函数，默认值通过数据库的default取得
		///</summary>
		public ERP_SalesPlanDetail()
		{
 
		}
		///<summary>
		///销售计划详情
		///</summary>
		public ERP_SalesPlanDetail
		(
			int detailId,
			int dSalesPlanId,
			int dCargoId,
			int dCusCargoId,
			int dCount
		)
		{
			_detailId     = detailId;
			_dSalesPlanId = dSalesPlanId;
			_dCargoId     = dCargoId;
			_dCusCargoId  = dCusCargoId;
			_dCount       = dCount;
			
		}
		
		

		#endregion
		
		#region 公共属性

		
		
		///<summary>
		///计划详情ID
		///</summary>
		public int DetailId
		{
			get {return _detailId;}
			set {_detailId = value;}
		}

		
		///<summary>
		///销售计划单ID
		///</summary>
		public int DSalesPlanId
		{
			get {return _dSalesPlanId;}
			set {_dSalesPlanId = value;}
		}

		
		///<summary>
		///商品ID
		///</summary>
		public int DCargoId
		{
			get {return _dCargoId;}
			set {_dCargoId = value;}
		}

		
		///<summary>
		///客户商品ID
		///</summary>
		public int DCusCargoId
		{
			get {return _dCusCargoId;}
			set {_dCusCargoId = value;}
		}

		
		///<summary>
		///数量
		///</summary>
		public int DCount
		{
			get {return _dCount;}
			set {_dCount = value;}
		}
	
		#endregion
		
	}
}